<template>
  <div id="app1">
    {{ msg }}
    <p><a href="https://www.baidu.com">百度1</a></p>
    <p><a v-bind:href="url">百度2</a></p>
    <p><a :href="url">百度3</a></p>
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {
      msg: "hello",
      url: "https://www.baidu.com",
    };
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
